﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="createStaffProfile1.aspx.cs" Inherits="SWENAssignment.ThinHui.createStaffProfile1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .auto-style3 {
            height: 190px;
        }
        .auto-style2 {
            width: 950px;
            height: 185px;
        }
        .auto-style1 {
            width: 100%;
        }
        .auto-style4 {
            height: 37px;
        }
        </style>
</head>
<body style="background-color: #CCFFCC">
    <form id="form1" runat="server">
    <div>
    
        <table class="auto-style1">
            <tr>
                <td class="auto-style3">
                    <img alt="banner" class="auto-style2" src="../Images/jjw-dona-filipa-hotel-home-banner-01.jpg" /></td>
            </tr>
            <tr>
                <td><strong>WELCOME TO DELONIX REGIA HOTEL MANAGEMENT SYSTEM</strong></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Menu ID="Menu1" runat="server" StaticSubMenuIndent="16px" style="font-weight: 700; font-size: large">
                        <Items>
                            <asp:MenuItem Text="Homepage" Value="Homepage" NavigateUrl="~/Homepage.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Create New Staff Profile" Value="Create New Staff Profile" NavigateUrl="~/ThinHui/createStaffProfile1.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Retrieve Staff Profile" Value="Retrieve Staff Profile" NavigateUrl="~/ThinHui/retrieveStaffProfile1.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Update Staff Profile" Value="Update Staff Profile" NavigateUrl="~/ThinHui/updateStaffProfile1.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Delete Staff Profile" Value="Delete Staff Profile" NavigateUrl="~/ThinHui/deleteStaffProfile1.aspx"></asp:MenuItem>
                        </Items>
                    </asp:Menu>
                </td>
            </tr>
            <tr>
                <td>
                    <table class="auto-style1">
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td><strong>Create New Staff Profile</strong></td>
                            <td>
            <asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">Staff ID:</td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxStaffID" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">
            <asp:Label ID="lblcheckStaffId" runat="server" ForeColor="Red"></asp:Label>
                            </td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">Last Name:</td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxLastName" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">First Name:</td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxFirstName" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">NRIC:</td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxNRIC" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">DOB:</td>
        <td class="auto-style5">
            <asp:DropDownList ID="ddlDate" runat="server">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
                <asp:ListItem>9</asp:ListItem>
                <asp:ListItem>10</asp:ListItem>
                <asp:ListItem>11</asp:ListItem>
                <asp:ListItem>12</asp:ListItem>
                <asp:ListItem>13</asp:ListItem>
                <asp:ListItem>14</asp:ListItem>
                <asp:ListItem>15</asp:ListItem>
                <asp:ListItem>16</asp:ListItem>
                <asp:ListItem>17</asp:ListItem>
                <asp:ListItem>18</asp:ListItem>
                <asp:ListItem>19</asp:ListItem>
                <asp:ListItem>20</asp:ListItem>
                <asp:ListItem>21</asp:ListItem>
                <asp:ListItem>22</asp:ListItem>
                <asp:ListItem>23</asp:ListItem>
                <asp:ListItem>24</asp:ListItem>
                <asp:ListItem>25</asp:ListItem>
                <asp:ListItem>26</asp:ListItem>
                <asp:ListItem>27</asp:ListItem>
                <asp:ListItem>28</asp:ListItem>
                <asp:ListItem>29</asp:ListItem>
                <asp:ListItem>30</asp:ListItem>
                <asp:ListItem>31</asp:ListItem>
            </asp:DropDownList>
&nbsp;
            <asp:DropDownList ID="ddlMonth" runat="server">
                <asp:ListItem>Jan</asp:ListItem>
                <asp:ListItem>Feb</asp:ListItem>
                <asp:ListItem>Mar</asp:ListItem>
                <asp:ListItem>Apr</asp:ListItem>
                <asp:ListItem>May</asp:ListItem>
                <asp:ListItem>Jun</asp:ListItem>
                <asp:ListItem>Jul</asp:ListItem>
                <asp:ListItem>Aug</asp:ListItem>
                <asp:ListItem>Sep</asp:ListItem>
                <asp:ListItem>Oct</asp:ListItem>
                <asp:ListItem>Nov</asp:ListItem>
                <asp:ListItem>Dec</asp:ListItem>
            </asp:DropDownList>
&nbsp;
            <asp:TextBox ID="tbxYear" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">
            <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="Year should be between 1955-1995" ForeColor="Red" MaximumValue="1995" MinimumValue="1955" ControlToValidate="tbxYear"></asp:RangeValidator>
        </td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style6">Contact Number:</td>
        <td class="auto-style6">
            <asp:TextBox ID="tbxContactNo" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style6"></td>
        <td class="auto-style6"></td>
                        </tr>
                        <tr>
        <td class="auto-style5">Address:</td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxAddress" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">Email: </td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxEmail" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Invalid Email Address" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="tbxEmail"></asp:RegularExpressionValidator>
        </td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style4">Gender:</td>
        <td class="auto-style4">
            <asp:RadioButtonList ID="rblGender" runat="server" Width="77px">
                <asp:ListItem>Female</asp:ListItem>
                <asp:ListItem>Male</asp:ListItem>
            </asp:RadioButtonList>
        </td>
        <td class="auto-style4"></td>
        <td class="auto-style4"></td>
                        </tr>
                        <tr>
        <td class="auto-style5">Bank Account Type:</td>
        <td class="auto-style5">
            <asp:DropDownList ID="ddlBankAccType" runat="server">
                <asp:ListItem>OCBC Savings</asp:ListItem>
                <asp:ListItem>POSB/DBS Savings</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">Bank Account Number:</td>
        <td class="auto-style5">
            <asp:TextBox ID="tbxBankAccNumber" runat="server"></asp:TextBox>
        </td>
        <td class="auto-style5"></td>
        <td class="auto-style5"></td>
                        </tr>
                        <tr>
        <td class="auto-style5">Duty Type:</td>
        <td class="auto-style5">
            <asp:DropDownList ID="ddlDutyType" runat="server">
                <asp:ListItem>General Maintenance</asp:ListItem>
                <asp:ListItem>Estate Maintenance</asp:ListItem>
                <asp:ListItem>Security Maintenance</asp:ListItem>
                <asp:ListItem>Room Maintenance</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">
            &nbsp;</td>
                        </tr>
                        <tr>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">
            <asp:Button ID="btnCreate" runat="server" Text="Create" OnClick="btnCreate_Click" />
                            </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style5">
            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Homepage.aspx">Logout</asp:HyperLink>
                            </td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
